﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucMainMenu.ascx.cs"
    Inherits="SES.CMS.Module.ucMainMenu" %>

 <div class="page_margins">
    <div class="page">
        <div id="feature">
            <div class="new">
                <div class="button">
                    <a href="#"></a>
                </div>
                <div class="content">
                    <a href="/NewProducts.aspx">
                        <asp:Literal runat="server" ID="lt1" Text="<%$Resources:Language,rlblNews %>"></asp:Literal></a>
                </div>
            </div>
            <div class="percent">
                <div class="button">
                    <a href="#"></a>
                </div>
                <div class="content" style="width: 0px; display: none; overflow: hidden;">
                    <a href="/Saleoff.aspx">
                        <asp:Literal runat="server" ID="Literal1" Text="<%$Resources:Language,rlblSaleOff %>"></asp:Literal></a>
                </div>
            </div>
            <div class="contact">
                <div class="button">
                    <a href="#"></a>
                </div>
                <div class="content" style="width: 0px; display: none; overflow: hidden;">
                    <a href="/Contact.aspx" target="_self" title="Kontakt">
                        <asp:Literal runat="server" ID="Literal2" Text="<%$Resources:Language,rlblContact %>"></asp:Literal></a>
                </div>
            </div>
            <div class="facebook">
                <div class="button">
                    <a href="#"></a>
                </div>
                <div class="content hover" style="width: 0px; display: none;">
                    <a href="#">
                        <asp:Literal runat="server" ID="Literal3" Text="<%$Resources:Language,rlblFacebook %>"></asp:Literal></a>
                </div>
            </div>
        </div>
        <div id="logo" style="display:none;">
            <a href="/Default.aspx" title="">
                <img src="/Media/logo.png"  alt="logo" title="logo" width="185px" height="95px" /></a>
        </div>
        <div class="mainnav" style="display: block;">
            <ul id="mainlayer" class="menu" style="">
                
                <asp:Repeater ID="parentRepeater" runat="server">
                    <ItemTemplate>
                        <li class="dc-mega-li" style=""><a href='/SanPham/<%#Eval("LoaiSanPhamID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("TenLoaiSanPham").ToString()): FriendlyUrl(Eval("ProductTypeName").ToString())%>'
                            class="dc-mega">
                            <asp:Literal runat="server" ID="lttt1" Text='<%#(bool)(Session["lang"].ToString()=="VN")?Eval("TenLoaiSanPham"): Eval("ProductTypeName")%>'></asp:Literal>
                            <span class="dc-mega-icon"></span></a>
                        <div class="sub-container mega" style="left: 0px; top: 0px; z-index: 1000;">
                            <ul class="sub" style="display: none;">
                            <div class="row" style="width: 902px;">
                                <asp:Repeater ID="childRepeater" runat="server" DataSource='<%# GetChildData(int.Parse(DataBinder.Eval(Container.DataItem,"LoaiSanPhamID").ToString()),2) %>'>
                                    <ItemTemplate>
                                            <li class="mega-hdr" style="height: 0px;">
                                                <img src='/Media/<%#Eval("HinhAnh") %>' alt="Spielen" class="navCatImage" onclick="document.location=''/SanPham/<%#Eval("LoaiSanPhamID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("TenLoaiSanPham").ToString()): FriendlyUrl(Eval("ProductTypeName").ToString())%>'">
                                                <a href='/SanPham/<%#Eval("LoaiSanPhamID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("TenLoaiSanPham").ToString()): FriendlyUrl(Eval("ProductTypeName").ToString())%>' title="Spielen" class="mega-hdr-a" style="height: 0px;"><asp:Literal runat="server" ID="lttt1" Text='<%#(bool)(Session["lang"].ToString()=="VN")?Eval("TenLoaiSanPham"): Eval("ProductTypeName")%>'></asp:Literal></a>
                                                <ul>
                                                    <asp:Repeater ID="grandchildRepeater" runat="server" DataSource='<%# GetChildData(int.Parse(DataBinder.Eval(Container.DataItem,"LoaiSanPhamID").ToString()),3) %>'>
                                                        <ItemTemplate>
                                                            <li class="">
                                                                <a href='/SanPham/<%#Eval("LoaiSanPhamID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("TenLoaiSanPham").ToString()): FriendlyUrl(Eval("ProductTypeName").ToString())%>' title="Spielen" class="mega-hdr-a" style="height: 0px;"><asp:Literal runat="server" ID="lttt1" Text='<%#(bool)(Session["lang"].ToString()=="VN")?Eval("TenLoaiSanPham"): Eval("ProductTypeName")%>'></asp:Literal></a>
                                                            </li>
                                                        </ItemTemplate>
                                                    </asp:Repeater>
                                                </ul>
                                            </li>
                                       
                                    </ItemTemplate>
                                </asp:Repeater>
                                 </div>
                            </ul>
                        </div>
</li>
                    </ItemTemplate>
                </asp:Repeater>
                <li class="dc-mega-li" style=""><a href="/Information.aspx">
                    <asp:Literal runat="server" ID="Literal5" Text="<%$Resources:Language,rlblInfomation %>"></asp:Literal></a></li>
            </ul>
        </div>
    </div>
</div>


